-- GENERATED SPELL FOR [Fel Guard Hound] --


function spell0_21847(pUnit, Event) --@Create Poodad,Self--
pUnit:FullCastSpellOnTarget(37688,pUnit)
pUnit:RegisterEvent('Sorts_21847', 632, 1)
end

function Sorts_21847(pUnit, Event)
local choix_sorts_21847 = math.random(0, 0)
if choix_sorts_21847 == 0 then
pUnit:RegisterEvent('spell0_21847', 1, 1)
end
end

function mob21847_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21847', math.random(1500, 3000), 1)
end

function mob21847_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21847_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21847_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21847, 1, 'mob21847_Action')
RegisterUnitEvent(21847, 2, 'mob21847_Leave')
RegisterUnitEvent(21847, 3, 'mob21847_Kill')
RegisterUnitEvent(21847, 4, 'mob21847_Die')
